package com.skycong.hello77.common.okhttp3;

/**
 * Created by Kiki on 2018/6/15.
 */

public class DisposeDataHandle {
    public DisposeDataListener mListener;
    public Class<?> mClass = null;

    /**
     * 数据原封不动
     * @param listener
     */

    public DisposeDataHandle(DisposeDataListener listener){
        this.mListener = listener;
    }

    /**
     * json对象到实体对象的转换
     * @param listener
     * @param clazz
     */
    public DisposeDataHandle(DisposeDataListener listener,Class<?> clazz){
        this.mListener = listener;
        this.mClass = clazz;
    }
}
